#include "stdafx.h"

//***********************************
// Constructor - Destructor 
//***********************************
CDoVat::CDoVat()
{
	this->_MoTa = "";
	this->_xSrc = 0;
	this->_ySrc = 0;
	this->_xDes = 0;
	this->_yDes = 0;
	this->_fileName = _T("");
	this->_flag = false;
	this->_drawable=false;
}


CDoVat::CDoVat(CString mota, int xsrc, int ysrc, int xdes, int ydes, CString fn, bool flag)
{
	this->_MoTa = mota;
	this->_xSrc = xsrc;
	this->_ySrc = ysrc;
	this->_xDes = xdes;
	this->_yDes = ydes;
	this->_fileName = fn;
	this->_flag = flag;
	this->_drawable=false;
}


CDoVat::~CDoVat()
{
	return;
}


//***********************************
//Getter - Setter
//***********************************
CString CDoVat::MoTa()
{
	return this->_MoTa;
}


bool CDoVat::MoTa(CString mota)
{
	this->_MoTa = mota;
	return true;
}


int CDoVat::XSrc()
{
	return this->_xSrc;
}


int CDoVat::YSrc()
{
	return this->_ySrc;
}


int CDoVat::XDes()
{
	return this->_xDes;
}


int CDoVat::YDes()
{
	return this->_yDes;
}


CString CDoVat::FileName()
{
	return this->_fileName;
}


bool CDoVat::FileName(CString fn)
{
	this->_fileName = fn;
	return true;
}


bool CDoVat::FLAG()
{
	return this->_flag;
}

void CDoVat::Drawable(bool a)
{
	this->_drawable=a;
}

bool CDoVat::Drawable()
{
	return this->_drawable;
}
//***********************************
// Functions
//***********************************


